package com.thy.exception;

import com.hospital.common.exception.GlobalException;
import com.thy.exception.enums.ServiceExpCode;

public class ServiceException extends GlobalException {
    /**
     * 全局异常初始化
     */
    public ServiceException(ServiceExpCode expCode) {
        super(expCode.code, expCode.message);
    }
}
